package cn.wit.luohui.day13;

import java.io.Closeable;
import java.io.IOException;

//工具类，用来关闭socket和server
public class Utils {

	public static void closeQuietly(Closeable c) {
		if (c != null) {
			try {
				c.close();
			} catch (IOException e) {

				e.printStackTrace();
			}
		}
	}
}
